<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">

    <title>后台</title>

    <link href="/hospital/Public/css/bootstrap.css" rel="stylesheet">
    <link href="/hospital/Public/css/layout.css" rel="stylesheet">
    <link rel="stylesheet" href="../bootstrap.css">
    
    <script src="/hospital/Public/js/jquery-1.8.3.min.js"></script>
    <script src="/hospital/Public/js/bootstrap.min.js" ></script>
</head>
<body>


    <nav class="navbar navbar-default navbar-fixed-top" id="top_menu">
        <div class="container">
            <!--<div class="navbar-header">-->
            <!--<img src="" id="logo">-->
            <!--</div>-->
            <div id="navbar" class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                    <li><a href="#">校医院挂号系统后台</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">Logout</a></li>
                </ul>
            </div>
        </div>
    </nav>



<div id="container">

    <div class="container">

        
            <div class="col-sm-2 sidebar" id="menu">
                <ul class="nav nav-sidebar list-group">
                    <li><a href="<?php echo U('Our/listPage');?>"  class="list-group-item">师生信息</a></li>
                </ul>
                <ul class="nav nav-sidebar list-group">
                    <li><a href="<?php echo U('Route/listPage');?>"  class="list-group-item">医生信息</a></li>
                </ul>
                <ul class="nav nav-sidebar list-group">
                    <li><a href="<?php echo U('Strategy/listPage');?>"  class="list-group-item">统计</a></li>
                </ul>
            </div>
        

        

        

    </div>



</div>

<script>

    //全选
    $(".allChecked").on("click", function(event){
        var $that = $(this);
        var val = $that.prop("checked")? true :false;
        $that.parent().prev().find(":checkbox").each(function(){
            $(this).prop("checked",val);
        });
    });

    $("table :checkbox").on("click", function() {
        var $table = $(this).parents("table"),
                val = true;
        $table.find(":checkbox").each(function(){
            var flg =$(this).prop("checked")? true :false;
            if(!flg) val = false;
        });
        $(".allChecked").each(function(){
            $(this).prop("checked",val);
        });
    });


</script>

</body>
</html>